package model;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;


/**
 * 用户类
 * @author Shen
 *
 */

public class User {
	
	private Integer id;
	private String email;
	private String password;
	private String nickName;
	private Date regDate;
	private Position position;
	private Set<NewType> newType = new HashSet<NewType>();

	
	public void setId(Integer id) {
		this.id = id;
	}
	
	public Set<NewType> getNewType() {
		return newType;
	}
	public void setNewType(Set<NewType> newType) {
		this.newType = newType;
	}

	public Date getRegDate() {
		return regDate;
	}
	public void setRegDate(Date regDate) {
		this.regDate = regDate;
	}
	
	public Position getPosition() {
		return position;
	}
	public void setPosition(Position position) {
		this.position = position;
	}
	public Integer getId() {
		return id;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getNickName() {
		return nickName;
	}
	public void setNickName(String nickName) {
		this.nickName = nickName;
	}
	
	
	
}
